Optimal. Leaf size=157 \[ \frac{1}{2} b c^2 e \text{PolyLog}(2,-c x)-\frac{1}{2} b c^2 e \text{PolyLog}(2,c x)-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (e \log \left (1-c^2 x^2\right )+d\right )}{2 x^2}+\frac{1}{2} c^2 e (a+b) \log (1-c x)+\frac{1}{2} c^2 e (a-b) \log (c x+1)-a c^2 e \log (x)-\frac{b c \left (e \log \left (1-c^2 x^2\right )+d\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (e \log \left (1-c^2 x^2\right )+d\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.140202, antiderivative size = 157, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 6, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {5916, 325, 206, 6085, 801, 5912} \[ \frac{1}{2} b c^2 e \text{PolyLog}(2,-c x)-\frac{1}{2} b c^2 e \text{PolyLog}(2,c x)-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (e \log \left (1-c^2 x^2\right )+d\right )}{2 x^2}+\frac{1}{2} c^2 e (a+b) \log (1-c x)+\frac{1}{2} c^2 e (a-b) \log (c x+1)-a c^2 e \log (x)-\frac{b c \left (e \log \left (1-c^2 x^2\right )+d\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (e \log \left (1-c^2 x^2\right )+d\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5916
Rule 325
Rule 206
Rule 6085
Rule 801
Rule 5912
Rubi steps
\begin{align*} \int \frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )}{x^3} \, dx &=-\frac{b c \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x^2}+\left (2 c^2 e\right ) \int \left (\frac{a+b c x}{2 x \left (-1+c^2 x^2\right )}-\frac{b \tanh ^{-1}(c x)}{2 x}\right ) \, dx\\ &=-\frac{b c \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x^2}+\left (c^2 e\right ) \int \frac{a+b c x}{x \left (-1+c^2 x^2\right )} \, dx-\left (b c^2 e\right ) \int \frac{\tanh ^{-1}(c x)}{x} \, dx\\ &=-\frac{b c \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x^2}+\frac{1}{2} b c^2 e \text{Li}_2(-c x)-\frac{1}{2} b c^2 e \text{Li}_2(c x)+\left (c^2 e\right ) \int \left (-\frac{a}{x}+\frac{(a+b) c}{2 (-1+c x)}+\frac{(a-b) c}{2 (1+c x)}\right ) \, dx\\ &=-a c^2 e \log (x)+\frac{1}{2} (a+b) c^2 e \log (1-c x)+\frac{1}{2} (a-b) c^2 e \log (1+c x)-\frac{b c \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac{\left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )}{2 x^2}+\frac{1}{2} b c^2 e \text{Li}_2(-c x)-\frac{1}{2} b c^2 e \text{Li}_2(c x)\\ \end{align*}
Mathematica [A] time = 0.156598, size = 152, normalized size = 0.97 \[ \frac{1}{2} \left (b c^2 e (\text{PolyLog}(2,-c x)-\text{PolyLog}(2,c x))-\frac{e \log \left (1-c^2 x^2\right ) \left (a+\left (b-b c^2 x^2\right ) \tanh ^{-1}(c x)+b c x\right )}{x^2}+c^2 e (a+b) \log (1-c x)+c^2 e (a-b) \log (c x+1)-2 a c^2 e \log (x)-\frac{a d}{x^2}-\frac{b d \left (c x (c x \log (1-c x)-c x \log (c x+1)+2)+2 \tanh ^{-1}(c x)\right )}{2 x^2}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 3.545, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b{\it Artanh} \left ( cx \right ) \right ) \left ( d+e\ln \left ( -{c}^{2}{x}^{2}+1 \right ) \right ) }{{x}^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{4} \,{\left ({\left (c \log \left (c x + 1\right ) - c \log \left (c x - 1\right ) - \frac{2}{x}\right )} c - \frac{2 \, \operatorname{artanh}\left (c x\right )}{x^{2}}\right )} b d + \frac{1}{2} \,{\left (c^{2}{\left (\log \left (c^{2} x^{2} - 1\right ) - \log \left (x^{2}\right )\right )} - \frac{\log \left (-c^{2} x^{2} + 1\right )}{x^{2}}\right )} a e + \frac{1}{4} \, b e{\left (\frac{\log \left (-c x + 1\right )^{2}}{x^{2}} - 2 \, \int -\frac{{\left (c x - 1\right )} \log \left (c x + 1\right )^{2} - c x \log \left (-c x + 1\right )}{c x^{4} - x^{3}}\,{d x}\right )} - \frac{a d}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b d \operatorname{artanh}\left (c x\right ) + a d +{\left (b e \operatorname{artanh}\left (c x\right ) + a e\right )} \log \left (-c^{2} x^{2} + 1\right )}{x^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{atanh}{\left (c x \right )}\right ) \left (d + e \log{\left (- c^{2} x^{2} + 1 \right )}\right )}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{artanh}\left (c x\right ) + a\right )}{\left (e \log \left (-c^{2} x^{2} + 1\right ) + d\right )}}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]